<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>花龙腾空航空 - 常见问题解答</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
            background-size: cover;
            background-position: center;
        }
        .card {
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }
        .scroll-section {
            scroll-snap-type: y proximity;
        }
        .scroll-section > div {
            scroll-snap-align: start;
        }
        .tab-active {
            border-bottom: 3px solid #3b82f6;
            color: #3b82f6;
            font-weight: 600;
        }
        .hidden {
            display: none;
        }
        .hide-scrollbar::-webkit-scrollbar {
            display: none;
        }
        .hide-scrollbar {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
    </style>
</head>
<body class="font-sans bg-gray-50">

<!-- 导航栏 -->
<nav class="bg-white shadow-lg sticky top-0 z-50">
    <div class="max-w-6xl mx-auto px-4">
        <div class="flex justify-between items-center py-4">
            <div class="flex items-center space-x-4">
                <i class="fas fa-dragon text-blue-600 text-2xl mr-2"></i>
                <span class="text-xl font-bold text-gray-800">花龙腾航</span>
            </div>
            <button class="md:hidden text-gray-700" id="menu-toggle">
                <i class="fas fa-bars text-2xl"></i>
            </button>
        </div>
    </div>
</nav>

<!-- 顶部横幅 -->
<section class="hero text-white py-24 px-4 md:px-0">
    <div class="max-w-4xl mx-auto text-center">
        <h1 class="text-4xl md:text-5xl font-bold mb-6">常见问题解答</h1>
        <p class="text-xl mb-8">解答您的疑问，让旅程更顺畅</p>
        <button class="bg-blue-600 hover:bg-blue-700 px-6 py-3 rounded-full font-medium transition duration-300">
            立即探索
        </button>
    </div>
</section>

<!-- 标签导航 -->
<div class="bg-white shadow-sm sticky top-16 z-40">
    <div class="max-w-6xl mx-auto px-4">
        <div class="flex overflow-x-auto hide-scrollbar">
            <button data-target="booking" class="tab-btn tab-active px-6 py-4 whitespace-nowrap">预订与改签</button>
            <button data-target="luggage" class="tab-btn px-6 py-4 whitespace-nowrap text-gray-600 hover:text-blue-600">行李规定</button>
            <button data-target="onboard" class="tab-btn px-6 py-4 whitespace-nowrap text-gray-600 hover:text-blue-600">机上服务</button>
            <button data-target="support" class="tab-btn px-6 py-4 whitespace-nowrap text-gray-600 hover:text-blue-600">客户支持</button>
        </div>
    </div>
</div>

<!-- 主要内容 -->
<main class="max-w-6xl mx-auto px-4 py-12">
    <div class="scroll-section mb-12 rounded-xl shadow-inner bg-white">
        <!-- 预订与改签 -->
        <div id="booking" class="p-8 border-b">
            <div class="flex items-center mb-6">
                <div class="bg-blue-100 p-3 rounded-full mr-4">
                    <i class="fas fa-ticket-alt text-blue-600 text-2xl"></i>
                </div>
                <h2 class="text-2xl font-bold text-gray-800">预订与改签</h2>
            </div>
            <div class="space-y-6">
                <div class="card bg-white p-6 rounded-xl border border-gray-200">
                    <button class="flex justify-between items-center w-full text-left">
                        <span class="font-bold text-lg">如何预订机票？</span>
                        <i class="fas fa-chevron-down text-blue-600"></i>
                    </button>
                    <div class="mt-4 hidden">
                        <p class="text-gray-700">您可以通过花龙腾空官网、手机应用或拨打客服热线400-888-XXXX预订机票。选择航线、日期并填写旅客信息后即可完成支付。</p>
                        <img src="https://images.unsplash.com/photo-1501389446297-afeb2fd7910d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80" alt="Booking" class="mt-4 rounded-lg w-full h-48 object-cover">
                    </div>
                </div>
                <div class="card bg-white p-6 rounded-xl border border-gray-200">
                    <button class="flex justify-between items-center w-full text-left">
                        <span class="font-bold text-lg">如何改签或退票？</span>
                        <i class="fas fa-chevron-down text-blue-600"></i>
                    </button>
                    <div class="mt-4 hidden">
                        <p class="text-gray-700">改签或退票需根据票务规则操作，可登录官网“我的订单”或联系客服处理。请注意，部分优惠票可能不可退改。</p>
                    </div>
                </div>
            </div>
        </div>

        <!-- 行李规定 -->
        <div id="luggage" class="p-8 border-b">
            <div class="flex items-center mb-6">
                <div class="bg-blue-100 p-3 rounded-full mr-4">
                    <i class="fas fa-suitcase text-blue-600 text-2xl"></i>
                </div>
                <h2 class="text-2xl font-bold text-gray-800">行李规定</h2>
            </div>
            <div class="space-y-6">
                <div class="card bg-white p-6 rounded-xl border border-gray-200">
                    <button class="flex justify-between items-center w-full text-left">
                        <span class="font-bold text-lg">随身行李限制是多少？</span>
                        <i class="fas fa-chevron-down text-blue-600"></i>
                    </button>
                    <div class="mt-4 hidden">
                        <p class="text-gray-700">经济舱乘客可携带1件随身行李（55×40×20cm，7kg）及1件个人物品。商务舱及头等舱可携带2件（每件10kg）。</p>
                        <img src="https://images.unsplash.com/photo-1581056771107-24ca5f033842?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80" alt="Carry-on" class="mt-4 rounded-lg w-full h-48 object-cover">
                    </div>
                </div>
                <div class="card bg-white p-6 rounded-xl border border-gray-200">
                    <button class="flex justify-between items-center w-full text-left">
                        <span class="font-bold text-lg">托运行李如何收费？</span>
                        <i class="fas fa-chevron-down text-blue-600"></i>
                    </button>
                    <div class="mt-4 hidden">
                        <p class="text-gray-700">经济舱提供1件免费托运行李（23kg），超额行李按航线收费，例如国内航线每件¥300。</p>
                    </div>
                </div>
            </div>
        </div>

        <!-- 机上服务 -->
        <div id="onboard" class="p-8 border-b">
            <div class="flex items-center mb-6">
                <div class="bg-blue-100 p-3 rounded-full mr-4">
                    <i class="fas fa-utensils text-blue-600 text-2xl"></i>
                </div>
                <h2 class="text-2xl font-bold text-gray-800">机上服务</h2>
            </div>
            <div class="space-y-6">
                <div class="card bg-white p-6 rounded-xl border border-gray-200">
                    <button class="flex justify-between items-center w-full text-left">
                        <span class="font-bold text-lg">机上餐食如何选择？</span>
                        <i class="fas fa-chevron-down text-blue-600"></i>
                    </button>
                    <div class="mt-4 hidden">
                        <p class="text-gray-700">长途航班提供免费餐食，可在预订时选择普通餐、素食或特殊餐。短途航班提供小份点心。</p>
                        <img src="https://images.unsplash.com/photo-1551218372-a1e9c80a0f83?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80" alt="Meal" class="mt-4 rounded-lg w-full h-48 object-cover">
                    </div>
                </div>
                <div class="card bg-white p-6 rounded-xl border border-gray-200">
                    <button class="flex justify-between items-center w-full text-left">
                        <span class="font-bold text-lg">是否有娱乐设施？</span>
                        <i class="fas fa-chevron-down text-blue-600"></i>
                    </button>
                    <div class="mt-4 hidden">
                        <p class="text-gray-700">所有航班提供机上娱乐系统，包括电影、音乐和游戏，部分机型支持Wi-Fi服务。</p>
                    </div>
                </div>
            </div>
        </div>

        <!-- 客户支持 -->
        <div id="support" class="p-8">
            <div class="flex items-center mb-6">
                <div class="bg-blue-100 p-3 rounded-full mr-4">
                    <i class="fas fa-headset text-blue-600 text-2xl"></i>
                </div>
                <h2 class="text-2xl font-bold text-gray-800">客户支持</h2>
            </div>
            <div class="space-y-6">
                <div class="card bg-white p-6 rounded-xl border border-gray-200">
                    <button class="flex justify-between items-center w-full text-left">
                        <span class="font-bold text-lg">如何联系客服？</span>
                        <i class="fas fa-chevron-down text-blue-600"></i>
                    </button>
                    <div class="mt-4 hidden">
                        <p class="text-gray-700">您可拨打客服热线19976338635，或通过官网在线聊天功能联系我们，服务时间为24/7。</p>
                    </div>
                </div>
                <div class="card bg-white p-6 rounded-xl border border-gray-200">
                    <button class="flex justify-between items-center w-full text-left">
                        <span class="font-bold text-lg">行李遗失怎么办？</span>
                        <i class="fas fa-chevron-down text-blue-600"></i>
                    </button>
                    <div class="mt-4 hidden">
                        <p class="text-gray-700">请立即前往机场行李服务柜台申报，提供行程单据，我们将尽快协助找回或赔偿。</p>
                        <img src="https://images.unsplash.com/photo-1616432600660-6b2a960fe3b0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80" alt="Lost luggage" class="mt-4 rounded-lg w-full h-48 object-cover">
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 返回顶部按钮 -->
    <button id="back-to-top" class="fixed bottom-8 right-8 bg-blue-600 text-white p-3 rounded-full shadow-lg hover:bg-blue-700 transition duration-300 hidden">
        <i class="fas fa-arrow-up"></i>
    </button>
</main>

<!-- 页脚 -->
<footer class="bg-gray-900 text-white pt-12 pb-8">
    <div class="max-w-6xl mx-auto px-4">
        <div class="grid md:grid-cols-4 gap-8 mb-8">
            <div>
                <h3 class="text-lg font-bold mb-4">联系我们</h3>
                <ul class="space-y-2">
                    <li class="flex items-start">
                        <i class="fas fa-phone-alt mt-1 mr-2 text-gray-400"></i>
                        <span class="text-gray-400">19976338635</span>
                    </li>
                    <li class="flex items-start">
                        <i class="fas fa-envelope mt-1 mr-2 text-gray-400"></i>
                        <span class="text-gray-400">service@hualongtk.com</span>
                    </li>
                </ul>
            </div>
        </div>
        <div class="border-t border-gray-800 pt-8 text-center text-gray-500 text-sm">
            <p>© 2023 花龙腾空航空 版权所有</p>
        </div>
    </div>
</footer>

<script>
    // 标签导航切换
    const tabButtons = document.querySelectorAll('.tab-btn');
    tabButtons.forEach(button => {
        button.addEventListener('click', () => {
            tabButtons.forEach(btn => btn.classList.remove('tab-active'));
            button.classList.add('tab-active');
            const targetId = button.getAttribute('data-target');
            document.getElementById(targetId).scrollIntoView({ behavior: 'smooth' });
        });
    });

    // 问题展开/收起
    const faqButtons = document.querySelectorAll('.card button');
    faqButtons.forEach(button => {
        button.addEventListener('click', () => {
            const content = button.nextElementSibling;
            const icon = button.querySelector('i');
            content.classList.toggle('hidden');
            icon.classList.toggle('fa-chevron-down');
            icon.classList.toggle('fa-chevron-up');
        });
    });

    // 返回顶部按钮
    const backToTop = document.getElementById('back-to-top');
    window.addEventListener('scroll', () => {
        if (window.scrollY > 300) {
            backToTop.classList.remove('hidden');
        } else {
            backToTop.classList.add('hidden');
        }
    });
    backToTop.addEventListener('click', () => {
        window.scrollTo({ top: 0, behavior: 'smooth' });
    });
</script>
</body>
</html>